try {
	//采购到货
	Type.registerNamespace('PorderInVO');
	//采购订单VO
	PorderInVO = function() {};
	PorderInVO.prototype = new NCMMPubUtil.SuperVO();
	//采购订单主键**
	PorderInVO.PK_ORDER = {
		name: "pk_order",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购单号
	PorderInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	PorderInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
	PorderInVO.PK_DEPT_NAME = {
		name: "pk_dept_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购订单明细**
	PorderInVO.PK_ORDER_B = {
		name: "pk_order_b",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	PorderInVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	PorderInVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PorderInVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	PorderInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	PorderInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	PorderInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库主数量
	PorderInVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库数量
	PorderInVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	PorderInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	PorderInVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PorderInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	PorderInVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	PorderInVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	PorderInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//供应商名称
	PorderInVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PorderInVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货组织
	PorderInVO.PK_ARRVSTOORG = {
		name: "pk_arrvstoorg",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	PorderInVO.PK_RECVSTORDOC = {
		name: "pk_recvstordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	PorderInVO.PK_RECVSTORDOC_NAME = {
		name: "pk_recvstordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体ts
	PorderInVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号编码
	PorderInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	PorderInVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//已扫描主数量
	PorderInVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//已扫描数量
	PorderInVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	PorderInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购员**
	PorderInVO.CEMPLOYEEID = {
		name: "cemployeeid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//**
	PorderInVO.CEMPLOYEEID_NAME = {
		name: "cemployeeid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	PorderInVO.prototype.getAllAttrs = function() {
		return [
			PorderInVO.PK_ORDER,
			PorderInVO.PK_ORDER_B,
			PorderInVO.MATERIALNAME,
			PorderInVO.NNUM,
			PorderInVO.NASTNUM,
			PorderInVO.VBILLCODE,
			PorderInVO.DBILLDATE,
			PorderInVO.HTS,
			PorderInVO.PK_SUPPLIER_NAME,
			PorderInVO.PK_ARRVSTOORG,
			PorderInVO.PK_RECVSTORDOC,
			PorderInVO.PK_RECVSTORDOC_NAME,
			PorderInVO.PK_MATERIAL,
			PorderInVO.MATERIALSPEC,
			PorderInVO.MATERIALTYPE,
			PorderInVO.MATERIALSHORTNAME,
			PorderInVO.MATERIALCODE,
			PorderInVO.PK_DEPT_NAME,
			PorderInVO.BTS,
			PorderInVO.CASTUNITID,
			PorderInVO.CASTUNITID_NAME,
			PorderInVO.CUNITID,
			PorderInVO.CUNITID_NAME,
			PorderInVO.VCHANGERATE,
			PorderInVO.VBATCHCODE,
			PorderInVO.PK_BATCHCODE,
			PorderInVO.NSCANEDNUM,
			PorderInVO.NSCANEDASTNUM,
			PorderInVO.CROWNO,
			PorderInVO.CEMPLOYEEID,
			PorderInVO.CEMPLOYEEID_NAME
		];
	};

	PorderInVO.prototype.getTableName = function() {
		return "po_orderin";
	};
	PorderInVO.prototype.getPrimaryAttr = function() {
		return PorderInVO.PK_ORDER_B;
	};
} catch(e) {
	$e(e);
}